﻿using System;

namespace Athena.Performance.Models.MQ
{
    public abstract class BaseResponse : IBaseResponseModel
    {
        public BaseResponse(Guid? correlationId)
        {
            CorrelationId = correlationId;
            TimeStamp = DateTime.Now;
        }

        public int Code
        {
            get; set;
        }

        public Guid? CorrelationId
        {
            get;
        }

        public string Message
        {
            get; set;
        }

        public DateTime TimeStamp
        {
            get;
        }
    }
}
